<?php

namespace App\Models;


class UserBenefit extends Orm
{
    //
    protected $table = 'user_benefit';
    protected $dateFormat = 'U';
    public $timestamps = true;

    public function benefitInfo()
    {
        return $this->belongsTo(Benefit::class, 'benefit_id');
    }

    public function userInfo()
    {
        return $this->belongsTo(Users::class, 'user_id');
    }
}
